<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />

    <script src="js/jquery-1.8.3.js"></script>
    <script>
        alert("hjnkm");
        function Add() {
            $.ajax({
                url:"AuctionRecordServlet",
                data:$("#myform").serialize(),
                success:function (data) {
                    if (data > 0) {
                        alert("添加成功");
                    }
                }
            })
        }
    </script>
</head>

<body>

<div class="wrap">
<!-- main begin-->
  <div class="sale">
    <h1 class="lf">在线拍卖系统</h1>
    <div class="logout right"><a href="#" title="注销">注销</a></div>
  </div>
  <div class="items sg-font lf">
      <input type="hidden" value="${auction.auctionId}" name="id">

          <ul class="rows">
              <li>名称：</li>
              <li class="borderno">${auction.auctionName}</li>
          </ul>
          <ul class="rows">
              <li>描述：</li>
              <li class="borderno">${auction.auctionDesc}</li>
          </ul>
          <ul class="rows">
              <li>开始时间：</li>
              <li class="borderno">${auction.auctionStartTime}</li>
          </ul>
          <ul class="rows">
              <li>结束时间：</li>
              <li class="borderno">${auction.auctionEndTime}</li>
          </ul>
          <ul class="rows border-no">
              <li>起拍价：</li>
              <li class="borderno">${auction.auctionStartPrice}</li>
          </ul>

  </div>
  <div class="rg borders"><img src="images/ad20.jpg" width="270" height="185" alt="" /></div>
  <div class="cl"></div>
  <div class="top10 salebd">
      <form action="" method="post" id="myform">
          <input type="hidden" name="action" value="auctionItem"/>
       <p>
       <label for="sale">出价：</label>
       <input type="text"  class="inputwd" id="sale" name="auctionPrice" value="4000"/>
       <input name="" type="button" value="竞 拍" class="spbg buttombg f14  sale-buttom" onclick="Add()"/>
       </p>
       <p class="f14 red">不能低于最高竞拍价</p>
      </form>
  </div>
  <div class="top10">
    <input name="" type="submit" value="刷 新" class="spbg buttombg f14" />
    <input name="" type="submit" value="返回列表" class="spbg buttombg f14" />
  </div>
  <div class="offer">
    <h3>出价记录</h3>
    <div class="items sg-font">
      <ul class="rows even strong">
        <li>竞拍时间</li>
        <li>竞拍价格</li>
        <li class="borderno">竞拍人</li>
      </ul>
      <ul class="rows">
        <li>${list.auctionTime}</li>
        <li>${list.auctionPrice}</li>
        <li class="borderno">${list.userName}</li>
      </ul>
<%--      <ul class="rows even">--%>
<%--        <li>2010-01-05 11:50:01</li>--%>
<%--        <li>40000,00</li>--%>
<%--        <li class="borderno">李四</li>--%>
<%--      </ul>--%>
<%--      <ul class="rows">--%>
<%--        <li>2010-01-05 10:50:01</li>--%>
<%--        <li>30000,00</li>--%>
<%--        <li class="borderno">王五</li>--%>
<%--      </ul>--%>
<%--      <ul class="rows even border-no">--%>
<%--        <li>2010-01-05 09:50:01</li>--%>
<%--        <li>20000,00</li>--%>
<%--        <li class="borderno">李靖</li>--%>
<%--      </ul>--%>
  </div>
  </div>
<!-- main end-->
</div>
</body>
</html>
